(function() {
    console.log('the DOM will be available here')
    const downloadBtn = document.getElementById('downloadAppId');
    downloadBtn.addEventListener('click', function () {
        chrome.tabs.create({url: 'https://di.show-me-code.xyz/#/Apps'});
    })

    const helpBtn = document.getElementById('helpBtn');
    helpBtn.addEventListener('click', function () {
        chrome.runtime.openOptionsPage();
    })
})();
